package com.migo.service.impl;

import com.migo.dao.AppDownloadDao;
import com.migo.entity.AppDownloadEntity;
import com.migo.service.AppDownloadService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service("appDownloadService")
public class AppDownloadServiceImpl implements AppDownloadService {
	@Autowired
	private AppDownloadDao appDownloadDao;
	
	@Override
	public AppDownloadEntity queryObject(Integer avId){
		return appDownloadDao.queryObject(avId);
	}

	@Override
	public List<AppDownloadEntity> queryListByConditions(Map<String, Object> map){
		return appDownloadDao.queryListByConditions(map);
	}

	@Override
	public List<AppDownloadEntity> queryList(Map<String, Object> map){
		return appDownloadDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return appDownloadDao.queryTotal(map);
	}
	
	@Override
	public void save(AppDownloadEntity appDownload){
		appDownloadDao.save(appDownload);
	}
	
	@Override
	public void update(AppDownloadEntity appDownload){
		appDownloadDao.update(appDownload);
	}
	
	@Override
	public void delete(Integer avId){
		appDownloadDao.delete(avId);
	}
	
	@Override
	public void deleteBatch(Integer[] avIds){
		appDownloadDao.deleteBatch(avIds);
	}
	
}
